
package jpoco.client;

public class Url
{
	public static final String WORK = "work";
	public static final String BLOG = "blog";
	public static final String PROFILE = "profile";
	
	private String value;
	private String type;
	
	public Url()
	{
		super();
	}

	public String getValue()
	{
		return value;
	}

	public void setValue(String v)
	{
		this.value = v;
	}

	public String getType()
	{
		return type;
	}

	public void setType(String t)
	{
		this.type = t;
	}

	public boolean isBlog()
	{
		return BLOG.equalsIgnoreCase(this.getValue());
	}
	
	public boolean isWork()
	{
		return WORK.equalsIgnoreCase(this.getValue());
	}
	
	public boolean isProfile()
	{
		return PROFILE.equalsIgnoreCase(this.getValue());
	}
	
}
